var mongoose = require('../mongodb/db.js'),
    Schema = mongoose.Schema;
  
var oilStationSchema = new Schema({
	name:{
		type:String,
		required:true //站名非空
		},
	lat: {type:Number},
	long: {type:Number},
	address:{type:String},
	tel:{type:String},
	service:{type:Array},
	_id:Schema.Types.ObjectId,  //主键
  _fk:Schema.Types.ObjectId,  //外键

})

module.exports = mongoose.model('station',oilStationSchema)